/*
 * Quest.h
 *
 *  Created on: 2013. 8. 27.
 *      Author: jjaehuny
 */

#ifndef PROJECTZ_NRESOURCE_QUEST_H_
#define PROJECTZ_NRESOURCE_QUEST_H_

#include <map>

namespace ProjectZ { namespace NResource {

class QuestResource
{
public:
	struct Flyweight
	{
		int _TID;
		int _EXP;
		int _MONEY;
		int _R_TYPE;
		int _R_SUBTYPE;
	};



public:
	QuestResource();
	virtual ~QuestResource();


	bool LoadResource();
	Flyweight * GetFly(int tid);

private:
	void	Clear();

private:
	typedef std::map<int, Flyweight *>	QUESTTREE;
	QUESTTREE	clsFlyTree;
};

} /*NResource*/ } /* namespace ProjectZ */

#endif /* PROJECTZ_NRESOURCE_QUEST_H_ */
